package com.zyc.templateMode;

/**
 * @author zyc
 * @create 2022--07--25 17:24
 */
public class Main {
    public static void main(String[] args) {
        AbstractClass c = new ConcreteClassA();
        c.templateMethod();

        c = new ConcreteClassB();
        c.templateMethod();
    }
}
